package financial.sharing.center.system.service;

import com.github.pagehelper.PageInfo;
import financial.sharing.center.common.vo.Token;
import financial.sharing.center.system.model.entity.SysUser;

/**
 * @ClassName SysUserService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/18
 * @Version 1.0
 */
public interface SysUserService {

    Token getToken(String username, String password);

    Integer createOneSysUser(String userName, String userPassword);

    Integer compileOneSysUser(SysUser sysUser);

    PageInfo<SysUser> getAllSysUser(String selectUserName);

    Integer deleteOneSysUser(Integer id);
}
